/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.lspviolate.lspimpl;

/**
 *
 * @author yandiswa
 */
public class Square extends RectangleImpl{
    public Square()
    {}

    @Override
    public void width(int width)
    {
    	super.width(width);  // VIOLATION - Derived class extends and Replaces
    	super.length(width); // the functionality of base method in base class.
    }                           // Leads to undesireable effects when used in existing
                                // modules.
    @Override
    public void length(int length)
    {
    	super.length(length);  
    }
    @Override
    public int Area()
    {
    	return super.Area();
    }
     
    
}
